Displaying Sql Queries In Excel
Document Version v.2
Document Last Updated 10/11/2019
Software Version Documented v.9.5.57

Task/Problem Overview

With Microsoft Excel, you have the ability to pull information from Savance Enterprise using an SQL query. This functionality will help you gather and organize information in an orderly manner. For starters, you will have to create a stored procedure that gathers the desired information. Then you will have to create an account that can execute the stored procedure. Once the stored procedure is executed, you will be able to display the results in Excel.

Creating an SQL User Account

Giving Permissions to SQL User:

A query needs to be executed on the database to grant permission to the user. Right-click the database and select the New Query option. In the space that is provided, execute the following statement:

"StoredProcedureName" and "NewLoginName" need to be changed to your information.

Displaying Data in Excel

Follow the steps below to gather information from the SQL server using Excel:

Now you should see the data in the Excel cells. Every time you refresh the page, the data should refresh.